package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient			//允许向eureka注册中心注册

public class EurekaServerB {

	public static void main(String[] args) {
		SpringApplication.run(EurekaServerB.class, args);
		System.out.println("eureka-server-B");
	}

}
